package com.lsa.shenn.chap2;

import com.lsa.helpers.Utils;
import com.lsa.shenn.common.Task;
import com.lsa.shenn.common.perm.PermRepeat;

public class Task_2_1_3_Subsets implements Task
{
	private final int SET_SIZE = 5; 
	
	public void doIt()
	{
		PermRepeat pr = new PermRepeat(2, this.SET_SIZE, true);
		
		int[] seq = pr.createFirstSequence();
		do
		{
			Utils.print(seq);
			seq = pr.move2NextSequence(seq);
		}
		while(seq != null);
	}
}
